//
//  EmotionMenueButton.m
//  wanzhaoIM
//
//  Created by wanzhao on 15/8/20.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import "EmotionMenueButton.h"

@interface EmotionMenueButton ()

@property (nonatomic, weak) UIView *line;

@end

@implementation EmotionMenueButton

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        UIView *line = [[UIView alloc] init];
        line.backgroundColor = RGBCOLOR(212, 212, 212);
        [self addSubview:line];
        self.line = line;
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.line.frame = CGRectMake(self.frame.size.width - 0.5, 0, 0.5, self.frame.size.height);
}


@end
